<?php
$title='学术刊物集萃';
$criteria=new CDbCriteria;
$criteria->condition='type=3 AND title=:title';
$criteria->params=array(':title'=>$title);

$article=Article::model()->find($criteria);
if(empty($article)){
    throw new CHttpException(400,'没有找到此文章.');
} else{
    echo  $article->content;
}